package com.wxy.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 47868
 * 对应数据库中的borrow_record表，用来向数据库交互信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("borrow_record")
public class BorrowRecord {
    @TableId("id")
    private String id;
    private Long uid;
    private int bid;
    @TableField("bookname")
    private String bookName;
    private String status;
    @TableField("borrow_date")
    private String borrowDate;
    @TableField("return_date")
    private String returnDate;
}
